{{extend './layouts/layout.html'}}

{{block 'content'}}
<div class="container-fluid">
  <div class="page-title">
    <h1>网站设置</h1>
  </div>
  <!-- 有错误信息时展示 -->
  <!-- <div class="alert alert-danger">
        <strong>错误！</strong>发生XXX错误
      </div> -->
  <form class="form-horizontal">
    <div class="form-group">
      <label for="site_logo" class="col-sm-2 control-label">网站图标</label>
      <div class="col-sm-6">
        <input id="site_logo" name="site_logo" type="hidden">
        <label class="form-image">
          <input id="logo" type="file">
          <img src="/public/assets/img/logo.png">
          <i class="mask fa fa-upload"></i>
        </label>
      </div>
    </div>
    <div class="form-group">
      <label for="site_name" class="col-sm-2 control-label">站点名称</label>
      <div class="col-sm-6">
        <input id="site_name" name="site_name" class="form-control" type="type" placeholder="站点名称">
      </div>
    </div>
    <div class="form-group">
      <label for="site_description" class="col-sm-2 control-label">站点描述</label>
      <div class="col-sm-6">
        <textarea id="site_description" name="site_description" class="form-control" placeholder="站点描述" cols="30"
          rows="6"></textarea>
      </div>
    </div>
    <div class="form-group">
      <label for="site_keywords" class="col-sm-2 control-label">站点关键词</label>
      <div class="col-sm-6">
        <input id="site_keywords" name="site_keywords" class="form-control" type="type" placeholder="站点关键词">
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">评论</label>
      <div class="col-sm-6">
        <div class="checkbox">
          <label><input id="comment_status" name="comment_status" type="checkbox" checked>开启评论功能</label>
        </div>
        <div class="checkbox">
          <label><input id="comment_reviewed" name="comment_reviewed" type="checkbox" checked>评论必须经人工批准</label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-6">
        <button type="submit" class="btn btn-primary">保存设置</button>
      </div>
    </div>
  </form>
</div>
{{/block}}